package com.ch.dream.asynctask;

import org.json.JSONArray;
import org.json.JSONObject;

import android.content.Context;

import com.ch.dream.base.BaseRequestAsyncTask;
import com.ch.dream.common.CommonRequestUrl;
import com.ch.dream.net.MyHttpAPI;

public class GetStoryModifyRequstAsyncTask extends BaseRequestAsyncTask {

	private MyHttpAPI myHttpAPI = new MyHttpAPI(CommonRequestUrl.GETSTORYTYPE);
	
	public GetStoryModifyRequstAsyncTask(Context context, RequestServerListener requestServerListener) {
		super(context, requestServerListener);
		
	}

	@Override
	protected Object doInBackground(Object... arg0) {
		JSONArray result =null;
		try{
			result = myHttpAPI.requestForJsonArray((JSONObject)arg0[0]);
		}catch (Exception e) {
			e.printStackTrace();
		}
		return result;
	}

}
